package com.makejl.handler;

import javax.faces.context.FacesContext;

import com.makejl.service.LoginService;

public class LoginHandler {

	private String username;
	private LoginService loginService;
	
	public LoginHandler(){
		super();
		username="makeJL,haha";
	}
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	public String login(){
//		username=" Guys,myeclipse ,I love you so much.";
		username=loginService.getLoginUser().getUsername();
		return null;
	}
	public LoginService getLoginService() {
		return loginService;
	}
	public void setLoginService(LoginService loginService) {
		this.loginService = loginService;
	}
	
}
